<template>
  <view class="">
    <file-list ref="listRef" api="api/userDownload" time-label="下载时间" />
  </view>
</template>

<script>
import FileList from '@/components/User/FileList.vue'
export default {
  components: {
    FileList
  },
  data() {
    return {
      page: 1,
      loading: 0,
      list: [],
      limit: 10
    }
  },
  onLoad() {
    this.getList()
  },
  onReachBottom() {
	  this.getList()
  },
  methods: {
    getList() {
      this.$nextTick(function() {
        this.$refs.listRef.getList()
      })
    }
  }
}
</script>

<style lang="scss">
	.file-logo {
		width: 80rpx;
		height: 80rpx;
		margin-right: 16rpx;
		background-color: #E7ECF2;
	}
</style>
